package com.zhang.zxx.boot.entity.DO;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 用户角色关联表: 控制层接口管理
 *
 * @author zhangxiaoxiang
 * @date 2021-11-27
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("sys_user_role")
@ApiModel(value = "SysUserRole对象", description = "用户角色关联表")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID = 1L;

     /**
      * 用户id
      */
    @ApiModelProperty("用户id")
    private String userId;

     /**
      * 角色id
      */
    @ApiModelProperty("角色id")
    private String roleId;


}
